// 打开设置页面
document.getElementById('openOptions').addEventListener('click', () => {
  chrome.runtime.openOptionsPage();
});

// 打开帮助页面
document.getElementById('openHelp').addEventListener('click', () => {
  chrome.tabs.create({
    url: 'https://gitee.com/dongweiq/article-helper#%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95'
  });
}); 